Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.x] Create stripe customer if not exists or update/sync #1661

Merged

Conversation

arafatkn
Copy link
Contributor

Assume, we have a route for redirecting to billing (stripe customer portal). Before that, the customer's stripe account should be created. We may use the createOrGetStripeCustomer method, but if we intend to update the stripe customer's details with his latest profile data or any metadata, then createOrSyncStripeCustomer and createOrUpdateStripeCustomer will be helpful.

  • It will not break any existing feature.

@driesvints driesvints changed the title create stripe customer if not exists or update/sync [15.x] Create stripe customer if not exists or update/sync Feb 29, 2024
@taylorotwell taylorotwell merged commit 70b581c into laravel:15.x Feb 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants